﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;


namespace iResume
{
    public class Admin
    {
        private string fullname;
        private string email;
        private string password;
        private DateTime dateofbirth;
        private string gender;
        private string address;
        private string zip;
        private string nationality;
        private string contact;
        private ArrayList adminlist;
        private byte[] image;
        private string confirmationCode;


        public Admin()
        {
        }
        public ArrayList Adminlist
        {
            get { return adminlist; }
            set { adminlist = value; }
        }

        public string Fullname
        {
            get { return fullname; }
            set { fullname = value; }
        }

        public string Contact
        {
            get { return contact; }
            set { contact = value; }
        }

        public string Email
        {
            get { return email; }
            set { email = value; }
        }

        public string Password
        {
            get { return password; }
            set { password = value; }
        }


        public DateTime Dateofbirth
        {
            get { return dateofbirth; }
            set { dateofbirth = value; }
        }

        public string Gender
        {
            get { return gender; }
            set { gender = value; }
        }

        public string Address
        {
            get { return address; }
            set { address = value; }
        }

        public string Postalcode
        {
            get { return zip; }
            set { zip = value; }
        }

        public string Nationality
        {
            get { return nationality; }
            set { nationality = value; }
        }

    

        public byte[] Image
        {
            get { return image; }
            set { image = value; }
        }
        public string ConfirmationCode
        {
            get { return confirmationCode; }
            set { confirmationCode = value; }
        }

        //create account

        public Admin(string fullname, string email, string password, DateTime dateofbirth, string gender, string address, string postalcode, string nationality,string contact)
        {
            this.fullname = fullname;
            this.email = email;
            this.password = password;
            this.dateofbirth = dateofbirth;
            this.gender = gender;
            this.address = address;
            this.Postalcode = postalcode;
            this.contact = contact;
            this.nationality = nationality;
            this.adminlist = new ArrayList();
        }


        public Admin(string fullname, string email, DateTime dateofbirth, string gender, string address, string postalcode, string nationality, string contact,byte[] image)
        {
            this.fullname = fullname;
            this.email = email;
            this.dateofbirth = dateofbirth;
            this.gender = gender;
            this.address = address;
            this.Postalcode = postalcode;
            this.nationality = nationality;
            this.image = image;
            this.contact = contact;
            this.adminlist = new ArrayList();
        }

        public Admin(string fullname, DateTime dateofbirth, string gender, string address, string postalcode, string nationality)
        {
            this.fullname = fullname;
            this.dateofbirth = dateofbirth;
            this.gender = gender;
            this.address = address;
            this.Postalcode = postalcode;
            this.nationality = nationality;

            this.adminlist = new ArrayList();
        }
        public Admin(string email, string confirmationCode)
        {
            this.email = email;
            this.confirmationCode = confirmationCode;
        }
    }




}